package com.zhongbei.service;

import com.zhongbei.pojo.Study;

import java.util.List;

public interface StudyService {
    //增
    int insertStudy(Study study);
    //改
    int updateStudy(Study study);
    //删
    int deleteStudy(Integer studyId);
    //查 根据所有
    List<Study> selectStudy();
    //查 根据是否必修
    List<Study> selectStudyByIsMandatory(Integer isMandatory);
    //查 根据id
    Study selectStudyByStudyId(Integer studyId);
    //查 根据学习类型
    List<Study> selectStudyByStudyCategory(Integer studyCategory);
}